package fhp.hlhj.giantfold.presenter

import com.lzy.okgo.model.HttpParams
import fhp.hlhj.giantfold.interfaces.ISendImg
import fhp.hlhj.giantfold.javaBean.BaseBean
import fhp.hlhj.giantfold.module.SendImgModule

/**
 * Created by Administrator on 2018\2\9 0009.
 */
class SendImgPresenter(private val iSendImg: ISendImg) : SendImgModule.OnSendResp {
    private val module=SendImgModule()

    fun sendImg(params: HttpParams){
        module.sendImg(params,this)
    }

    override fun showLoading() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun onResp(t: BaseBean) {
        iSendImg.senImgResp(t)
    }
}